﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FunctionalLayer
{
    /// <summary>
    /// This class is used to calculate Watt
    /// </summary>
    public class WattSensor
    {
        /// <summary>
        /// Calculate wattage
        /// </summary>
        /// <param name="_voltage">Actual volt value</param>
        /// <param name="_amperage">Actual amperage value</param>
        /// <returns>Watt value</returns>
        public double Calculate(double voltage, double amperage)
        {
            var wattage = voltage * amperage;
            return wattage;
        }
    }
}